package com.puppet.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * @TableName t_book
 */
@TableName(value ="t_book")
@Data
public class Book {
    private Long id;

    private String name;

    private Integer typeId;

    private String publisher;

    private Date publicationDate;

    private String author;

    private BigDecimal price;

    private String detail;

    private String imgSrc;

    private Integer collectionCount;

    private Integer storeCount;

    private Integer buyCount;

    private Integer readCount;

    private Date createTime;

    private Date updateTime;

    private Integer state;

    private Integer version;
}